|
|
A URL stores the location of media in a form iShell understands. A URL is created from a string type. This allows you to use string functions with a URL data type.
Set URL Functions These are used with the Set command.
- Fragment: Appends a '#' pound sign and string fragment to the end of the URL.
- Host: Adds or replaces the site name reference in an HTTP URL. This is the part of the URL such as "www.tribeworks.com".
- Merge: Adds or replaces the part of the URL after the slash following the host.
- Password: Adds or replaces the password in the URL. This follows the '@', at the beginning of the URL. Password cannot be added if the URL does not have a User.
- Path: Adds or replaces the part of the URL after the slash following the host, but does not replace any Query strings.
- Port: Port specifies the IP port to communicate over.
- Query: Query appends a query string to the end of the URL in the form of '?' plus input argument.
- Scheme: Replaces or adds the URL scheme such as FTP, HTTP, RTSP, etc.
- User: Adds or replaces a user name to the URL. This is placed after the scheme and before the '@'.
- Value: Value sets a value to the variable.
Get URL Functions These are used with the Get command.
- Fragment: Returns the contents after the '#' pound sign in a URL.
- Host: Returns the site name referenced in an HTTP URL. This is the part of the URL such as "www.tribeworks.com".
- Merge: Returns the part of the URL after the slash following the host.
- Password: Returns the password in the URL. This follows the '@', at the beginning of the URL.
- Path: Returns the part of the URL after the slash following the host.
- Port: Returns the IP port to the URL is communicating over.
- Query: Returns the query string at the end of the URL after the '?' question mark.
- Scheme: Returns the URL scheme such as FTP, HTTP, RTSP, etc.
- User: Returns the user name of the URL.
- Value: Returns the value to the variable.
Comparison URL Functions These are used with the If, Else If, or While commands.
- Different: The two URL's are not the same.
- Equal: The two URL's are the same.
|